package cn.edu.nju.askme.dao;

import java.util.List;

import cn.edu.nju.askme.model.PaperAnswer;

public interface IPaperAnswerDAO {

	void save(PaperAnswer transientInstance);

	void delete(PaperAnswer persistentInstance);

	PaperAnswer findById(java.lang.Integer id);

	List<PaperAnswer> findByExample(PaperAnswer instance);

	List findByProperty(String propertyName, Object value);

	List findAll();

	PaperAnswer merge(PaperAnswer detachedInstance);

	void attachDirty(PaperAnswer instance);

	void attachClean(PaperAnswer instance);

}